//
//  LZLoginRegisterView.m
//  LZHundredJie
//
//  Created by apple on 16/4/5.
//  Copyright © 2016年 m14a.cn. All rights reserved.
//

#import "LZLoginRegisterView.h"
//#import "LZLoginTextField.h"

@interface LZLoginRegisterView ()


@property (weak, nonatomic) IBOutlet UIButton *loginRegisterBtn;

@end

@implementation LZLoginRegisterView

+ (instancetype)loginView
{
    return [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:nil options:nil] firstObject];
}

+ (instancetype)registerView
{
    return [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:nil options:nil] lastObject];
}

- (void)awakeFromNib
{
    // 这里有个坑
    /*
    UIImage *image = self.loginRegisterBtn.currentBackgroundImage;
    image = [image stretchableImageWithLeftCapWidth:image.size.width * 0.5 topCapHeight:image.size.height * 0.5];
    [self.loginRegisterBtn setBackgroundImage:image forState:UIControlStateNormal];
     */
}



@end
